package com.zhongyouyun.other.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zhongyouyun.admin.model.RoleDictModel;
import com.zhongyouyun.admin.model.RoleMenuModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@ApiModel(value="角色权限对象", description="角色权限对象")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@Accessors(chain = true)
public class RoleMenuOrDict extends RoleMenuModel {
     @ApiModelProperty(value = "按钮权限列表")
     @TableField(exist = false)
     @JsonInclude
     public List<RoleDictModel> roleDictModelList;

}
